# Minimum required CMake version
cmake_minimum_required(VERSION 3.18)

# Project name
project(txnncpp VERSION 0.0.1)

# Language Standards ----------------------------------------------------------
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)

# Append CMake Sub-Module from cmake Directory --------------------------------
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

# Setup Directories -----------------------------------------------------------
set(EXT_ROOT_DIR ${PROJECT_SOURCE_DIR})

set(EXT_FE_CSRC_ROOT_DIR ${EXT_ROOT_DIR}/torch_txda/csrc)

# Dependencies ----------------------------------------------------------------
# find_package( REQUIRED)

add_subdirectory(${EXT_FE_CSRC_ROOT_DIR})